<?php
include_once ($_SERVER['DOCUMENT_ROOT'].'/global.php');
$array = array();
$sql="Update user set MiMa = '25d55ad283aa400af464c76d713c07ad' where id = (select person_id from Worker where id = {$_GET['person_id']})";
$query = $mysqli->query($sql);
echo json_encode(1);
exit;
?>
